package com.easylinkin.linkappapi.meterbilling.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.easylinkin.linkappapi.meterbilling.entity.RoomExpensesBill;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * class info :
 *
 * @author liuqihang
 * @date 2021/7/16 17:06
 */
public interface RoomExpensesMapper extends BaseMapper<RoomExpensesBill> {

    /**
     * 获取房间消费最新的数据记录 根据设备编码
     * @param deviceCodeList
     * @return
     */
    List<RoomExpensesBill> getNewestRoomExpensesBillRecordByDeviceCode(@Param("deviceCodeList")List<String> deviceCodeList);
}
